﻿
using System;
namespace EquipmentPanelTest.Data
{
    public class ItemSize
    {
        public int RowsCount { get; private set; }

        public int ColumnsCount { get; private set; }

        public ItemSize(int rowsCount, int columnsCount)
        {
            RowsCount = rowsCount;
            ColumnsCount = columnsCount;
        }

        public override string ToString()
        {
            return String.Format("{0}x{1}", RowsCount, ColumnsCount);
        }
    }
}
